package cate.common.table.hallow.row;

import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
@EExcelRowClass
public class HallowLevelUpRow extends ERow {
    public int type;

    public int level;

    public double value;

    public double maxValue;

    public String consumeStr;

    public String attrStr;

    public String attrStageStr;

    public String backStr;

    public String consumeM1Str;

    public double realValue;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.type = xrw.getInteger("圣器ID");
        this.level = xrw.getInteger("圣器等级");
        this.value = xrw.getDouble("单次祝福值");
        this.maxValue = xrw.getDouble("直接升级祝福值");
        this.realValue = xrw.getDouble("升级所需祝福值");
        this.consumeStr = xrw.getString("消耗材料");
        this.consumeM1Str = xrw.getString("消耗金币");
        this.attrStr = xrw.getString("总属性");
        this.attrStageStr = xrw.getString("进度属性");
        this.backStr = xrw.getString("重铸返还道具");
        //类型 * 1000 + 等级   1001 ~ 1025 ， 2001~2025 ...
        this.id = type * 1000 + level;
    }
}
